import request from "@/utils/request";

export function getPanelGroupData() {
  return request({
    url: '/index/panel-group',
    method: 'get'
  })
}

export function getLineChartData() {
  return request({
    url: '/index/line/cycle',
    method: 'get'
  })
}

export function getUserSexProportionData() {
  return request({
    url: '/index/pie/user-sex',
    method: 'get'
  })
}

export function getDepartmentPeopleProportionData() {
  return request({
    url: '/index/pie/department',
    method: 'get'
  })
}

export function getPostPeopleProportionData() {
  return request({
    url: '/index/pie/post',
    method: 'get'
  })
}
